package com.alquiler.dto;


public class ItemDto {
	
	Integer id; 
	String value;
	
	public ItemDto(Integer id){ 
		this(id, null); 
	}
	
	public ItemDto(String  value)  { 
		this(null, value); 
	}
	
	public ItemDto(Integer id, String value) { 
		this.id = id; 
		this.value = value; 
	}
	
	public Integer getId(){
		
		return id;
	}
	
    @Override public String toString() { 
    	return value; 
    }

}


